import http from '../utils/http'

//配置
export function systemSetting(params) {
	return http.get('systemSetting', params)
}
export function saveSettingForm(params) {
	return http.post('saveSettingForm', params)
}
//地址配置
export function addrList() {
	return http.get('addrList')
}
export function getRegionTree() {
	return http.get('getRegionTree')
}
export function detailAddr(params) {
	return http.get('detailAddr',params)
}
export function saveAddress(params) {
	return http.post('saveAddress', params)
}
export function addrRemove(params) {
	return http.get('addrRemove', params)
}

export function getSettingByKey(params) {
	return http.get('getSettingByKey', params)
}
